package com.dyrj.jzb.po;

import com.alibaba.fastjson.JSON;

import java.util.HashMap;

/**
 * KFEJZB6031	平台订单管理	PlatformOrderManagement
 * 通过此接口，平台可以对成功创建的会员间交易的订单进行进行确认付款操作，或者退款。
 */

public class Po6031PlatformOrderManagement extends PoBase{

    //功能标志 2：平台代理确认收货（担保→收款方） 3:平台代理申请退款（担保→付款方）
    private String FunctionFlag;
    //转出方的见证子账户的账号 付款方
    private String OutSubAcctNo;
    //资金汇总账号
    private String FundSummaryAcctNo;
    //转出方的交易网会员代码
    private String OutMemberCode;
    //转出方的见证子账户的户名 户名是绑卡时上送的账户名称，如果未绑卡，就送6000接口上送的昵称
    private String OutSubAcctName;
    //转入方的见证子账户的账号 收款方
    private String InSubAcctNo;
    //转入方的交易网会员代码
    private String InMemberCode;
    //转入方的见证子账户的户名 户名是绑卡时上送的账户名称，如果未绑卡，就送6000接口上送的昵称
    private String InSubAcctName;
    //交易金额
    private String TranAmt;
    //交易费用 平台收取交易费用
    private String TranFee;
    //交易类型 01：普通交易 SafeTrade_T0：下单预支付T0（1分支才有用）
    private String TranType;
    //币种 默认：RMB
    private String Ccy;
    //订单号 功能标志为1,2,3时必输，全局唯一，不能与6139/6007/6135/6134订单号相同。
    private String OrderNo;
    //订单内容
    private String OrderContent;
    //备注 建议可送订单号，可在对账文件的备注字段获取到。
    private String Remark;
    //保留域
    private String ReservedMsg;

    //输出 见证系统流水号
    private String FrontSeqNo;
    //输出 保留域
//    private String ReservedMsg;

    public String getReqPara() {
        HashMap paraKeyDict = new HashMap();
        paraKeyDict.put("CnsmrSeqNo",this.getCnsmrSeqNo());
        paraKeyDict.put("MrchCode",this.getMrchCode());
        paraKeyDict.put("FunctionFlag",this.getFunctionFlag());
        paraKeyDict.put("OutSubAcctNo",this.getOutSubAcctNo());
        paraKeyDict.put("FundSummaryAcctNo",this.getFundSummaryAcctNo());
        paraKeyDict.put("OutMemberCode",this.getOutMemberCode());
        paraKeyDict.put("OutSubAcctName",this.getOutSubAcctName());
        paraKeyDict.put("InSubAcctNo",this.getInSubAcctNo());
        paraKeyDict.put("InMemberCode",this.getInMemberCode());
        paraKeyDict.put("InSubAcctName",this.getInSubAcctName());
        paraKeyDict.put("TranAmt",this.getTranAmt());
        paraKeyDict.put("TranFee",this.getTranFee());
        paraKeyDict.put("TranType",this.getTranType());
        paraKeyDict.put("Ccy",this.getCcy());
        paraKeyDict.put("OrderNo",this.getOrderNo());
        paraKeyDict.put("OrderContent",this.getOrderContent());
        paraKeyDict.put("Remark",this.getRemark());
        paraKeyDict.put("ReservedMsg",this.getReservedMsg());
        return JSON.toJSONString(paraKeyDict);
    }

    public String getFunctionFlag() {
        return FunctionFlag;
    }

    public void setFunctionFlag(String functionFlag) {
        FunctionFlag = functionFlag;
    }

    public String getOutSubAcctNo() {
        return OutSubAcctNo;
    }

    public void setOutSubAcctNo(String outSubAcctNo) {
        OutSubAcctNo = outSubAcctNo;
    }

    public String getFundSummaryAcctNo() {
        return FundSummaryAcctNo;
    }

    public void setFundSummaryAcctNo(String fundSummaryAcctNo) {
        FundSummaryAcctNo = fundSummaryAcctNo;
    }

    public String getOutMemberCode() {
        return OutMemberCode;
    }

    public void setOutMemberCode(String outMemberCode) {
        OutMemberCode = outMemberCode;
    }

    public String getOutSubAcctName() {
        return OutSubAcctName;
    }

    public void setOutSubAcctName(String outSubAcctName) {
        OutSubAcctName = outSubAcctName;
    }

    public String getInSubAcctNo() {
        return InSubAcctNo;
    }

    public void setInSubAcctNo(String inSubAcctNo) {
        InSubAcctNo = inSubAcctNo;
    }

    public String getInMemberCode() {
        return InMemberCode;
    }

    public void setInMemberCode(String inMemberCode) {
        InMemberCode = inMemberCode;
    }

    public String getInSubAcctName() {
        return InSubAcctName;
    }

    public void setInSubAcctName(String inSubAcctName) {
        InSubAcctName = inSubAcctName;
    }

    public String getTranAmt() {
        return TranAmt;
    }

    public void setTranAmt(String tranAmt) {
        TranAmt = tranAmt;
    }

    public String getTranFee() {
        return TranFee;
    }

    public void setTranFee(String tranFee) {
        TranFee = tranFee;
    }

    public String getTranType() {
        return TranType;
    }

    public void setTranType(String tranType) {
        TranType = tranType;
    }

    public String getCcy() {
        return Ccy;
    }

    public void setCcy(String ccy) {
        Ccy = ccy;
    }

    public String getOrderNo() {
        return OrderNo;
    }

    public void setOrderNo(String orderNo) {
        OrderNo = orderNo;
    }

    public String getOrderContent() {
        return OrderContent;
    }

    public void setOrderContent(String orderContent) {
        OrderContent = orderContent;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    public String getReservedMsg() {
        return ReservedMsg;
    }

    public void setReservedMsg(String reservedMsg) {
        ReservedMsg = reservedMsg;
    }

    public String getFrontSeqNo() {
        return FrontSeqNo;
    }

    public void setFrontSeqNo(String frontSeqNo) {
        FrontSeqNo = frontSeqNo;
    }
}
